/*
 * Map.h
 *
 *  Created on: Jan 19, 2012
 *      Author: jacobimo
 */

#ifndef MAP_H_
#define MAP_H_
#include <stdio.h>
#include <string>
#include <fstream>

#include "Location.h"
#include "Path.h"
using namespace std;
using std::string;

class Map {
	Location** _map;
	Path _path;
	int** _arr;
	int _mapRow, _mapColumn, _blockHieght,_blockWieght;
	string _filePath;
public:
	Map(string file);
	Map(const Map&map);
	virtual ~Map();
	Location** getMap() const;


private:
	Path createPath();
	void loadfile();


};

#endif /* MAP_H_ */
